package cn.lxh.user.mapper;

import cn.lxh.user.domain.User;
import cn.lxh.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxh
 * @since 2022-06-17
 */
public interface UserMapper extends BaseMapper<User> {



    User findByPhone(String phone);

    /**
     * 微信绑定使用哪个
     * @param phone
     * @return
     */
    User findByUsername(String phone);
}
